<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        let json={a:1,b:'string',c:true}
        let url='http:www.baidu.con'+JSON.stringify(json);
        let jsons='{"a":1,"b":2}'

        console.log(JSON.parse(jsons))
        let a=1; 
        let b=1;

        var jso={a,b};
        console.log(jso)

        let obj={
            show(){
                alert(1)
            }
        }

        /* 
            key value 一样 留一个

            方法  可以省略  ：fuction
         */

        obj.show()

    
    </script>
</body>
</html>